import sys
from PyQt5 import QtWidgets, QtCore

from pages.LoginPage import LoginPage
from pages.RegisterPage import RegisterPage


def main():
    # 得到application对象
    app = QtWidgets.QApplication(sys.argv)
    # 实例化自定义UI
    login_page = LoginPage()
    # 阻塞，防止程序退出
    sys.exit(app.exec_())


if __name__ == "__main__":
    main()
